import tensorflow as tf

a = tf.keras.Model
b = tf.keras.models.Model

print(a == b)

a = tf.nn.relu
b = tf.keras.activations.relu

print(a == b)

a = tf.nn.softmax
b = tf.keras.activations.softmax

print(a == b)
